package form.ui.Effect
{

	/** 
	 * The Rotate class is an effect that rotates a display object.
	 */	
	public class Rotate extends Interpolate {
		public function Rotate() { super(); }
		
		public function get rotation():Number { return this.value; }
		
		public function set startRotation(value:Number):void { this.startValue = value; } 
		public function get startRotation():Number { return this.startValue; }
		
		public function set stopRotation(value:Number):void { this.stopValue = value; } 
		public function get stopRotation():Number { return this.stopValue; }
		
		protected override function draw(interval:uint = 0):void {
			if (this.target != null) { this.target.rotation = this.rotation; }
		}
	}
}